# -*- coding: utf-8 -*-
from application import app
from web.controllers.index import route_index
from web.controllers.admin.user.User import route_user
from web.controllers.static import route_static
from web.controllers.admin.account.Account import route_account
from web.controllers.admin.food.Food import route_food
from web.controllers.admin.member.Member import route_member
from web.controllers.admin.finance.Finance import finance_route
from web.controllers.admin.stat.Stat import route_stat

app.register_blueprint(route_index, url_prefix='/')
app.register_blueprint(route_user, url_prefix='/admin/user')
app.register_blueprint(route_static, url_prefix='/static')
app.register_blueprint(route_account, url_prefix='/admin/account')
app.register_blueprint(route_food, url_prefix='/admin/food')
app.register_blueprint(route_member, url_prefix='/admin/member')
app.register_blueprint(finance_route, url_prefix='/admin/finance')
app.register_blueprint(route_stat, url_prefix='/admin/stat')
